import numpy as np
import matplotlib.pyplot as plt

labels = ['Figure-Ground', 'Textures', 'Line Stimuli']

x = np.arange(len(labels))

fig, ax = plt.subplots()

width = 0.15

rects1 = ax.bar(x - (2.5 * width), [62.7, 72.5, 76.8], width, yerr = [1.92, 0.376, 1.39], label = 'SC 0.1')
rects2 = ax.bar(x - (1.5 * width), [63.2, 73.2, 81.9], width, yerr = [1.13, 0.307, 1.97], label = 'SC 0.25')
rects3 = ax.bar(x - (0.5 * width), [62.3, 72.3, 81.8], width, yerr = [1.55, 0.533, 2.26], label = 'SC 0.5')
rects4 = ax.bar(x + (0.5 * width), [59.9, 46.4, 47.8], width, yerr = [2.70, 0.342, 4.01], label = 'SC 4.0')
rects5 = ax.bar(x + (1.5 * width), [63.5, 78.3, 90.8], width, yerr = [1.49, 0.311, 1.49], label = 'ICA')
rects6 = ax.bar(x + (2.5 * width), [50.0, 6.67, 16.7], width, label = 'Random')

ax.set_ylabel('% Accuracy')
ax.set_xticks(x)
ax.set_xticklabels(labels)
ax.legend(loc = 'upper left', ncol = 2)

plt.show()
